package springboot;

import org.framegen.spring.FrameGenSpringBootEntry;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class SpringBoot3 {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(SpringBoot3.class, args);

        new FrameGenSpringBootEntry(context)
                .setPackage(builder -> {
                    builder.origin("springboot")
//                            .service("service")
//                            .serviceImpl("service.impl")
                    ;
                })
                .lombok()
                .mybatisPlus()
                .run(SpringBoot3.class);
    }
}
